package com.pn.taikao.service;

import com.pn.taikao.entity.Question;

import java.util.List;

public interface QuestionService {
    Long createQuestion(Question question);

    void updateQuestion(Question question);

    void deleteQuestion(Long id);

    Question getById(Long id);

    List<Question> getByCourseId(Long courseId);

    List<Question> list(String type, Long courseId, String difficulty, String content, int page, int size);

    long count(String type, Long courseId, String difficulty, String content);
}



